home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-05-03 | 1.2 KB | 45 lines |
- # Makefile for Dinkum
- # 22 February 1993
-
- # For the Coherent GCC port...
- #CC = gcc
- #CFLAGS = -c -O -Wall
-
- # For the standard Coherent C compiler...
- # This modification was suggested by Fred Smith. Thanks, Fred!
- #CFLAGS = -c -Dcoh40
-
- # For garden variety Unix
- CFLAGS = -O
-
- HEAD = dink_sym.h dink_glb.h
-
- OBJECTS = dinkum.o describe.o longdsc.o objlook.o actor.o \
- pusher.o monster.o opener.o parse.o taker.o
- dinkum: $(OBJECTS)
- $(CC) $(OBJECTS) -o dinkum
- dinkum.o: dinkum.c $(HEAD)
- $(CC) $(CFLAGS) -c dinkum.c
- describe.o: describe.c $(HEAD)
- $(CC) $(CFLAGS) -c describe.c
- longdsc.o: longdsc.c $(HEAD)
- $(CC) $(CFLAGS) -c longdsc.c
- objlook.o: objlook.c $(HEAD)
- $(CC) $(CFLAGS) -c objlook.c
- pusher.o: pusher.c $(HEAD)
- $(CC) $(CFLAGS) -c pusher.c
- actor.o: actor.c $(HEAD)
- $(CC) $(CFLAGS) -c actor.c
- monster.o: monster.c $(HEAD)
- $(CC) $(CFLAGS) -c monster.c
- opener.o: opener.c $(HEAD)
- $(CC) $(CFLAGS) -c opener.c
- taker.o: taker.c $(HEAD)
- $(CC) $(CFLAGS) -c taker.c
-
- parse.o: parse.c $(HEAD)
- # Replace with PROMPT if you want a prompt with every command entry.
- # This modification was suggested by Chris Herborth. Thanks, Chris!
- # $(CC) $(CFLAGS) -DPROMPT -c parse.c
- $(CC) $(CFLAGS) -c parse.c
-